﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Display.DialogUI {
    import flash.utils.*;

    public class SocialLevelUpDialog extends GenericDialog {

        protected var m_SocialLevel:int;
        protected var m_RewardGoods:int;
        protected var m_Message:String;
        protected var m_Title:String;
        protected var m_DialogIcon:String;
        protected var m_LevelUpTitleIcon:String;

        public function SocialLevelUpDialog(_arg1:int=0, _arg2:int=0, _arg3:Function=null, _arg4:String="socialLevelUp_prompt", _arg5:String="socialLevelUp", _arg6:String="assets/dialogs/feeds/feed_viral_reputation.png", _arg7:String="assets/dialogs/feeds/socialLevelUp.png"){
            this.m_SocialLevel = _arg1;
            this.m_RewardGoods = _arg2;
            this.m_Message = _arg4;
            this.m_Title = _arg5;
            this.m_DialogIcon = _arg6;
            this.m_LevelUpTitleIcon = _arg7;
            super(ZLoc.t("Dialogs", this.m_Message), this.m_Title, GenericDialogView.TYPE_SHARECANCEL, _arg3, this.m_Title, this.m_DialogIcon, true);
        }
        override public function isLockable():Boolean{
            return (true);
        }
        override protected function createDialogView(_arg1:Dictionary):GenericDialogView{
            var _local2:SocialLevelUpDialogView = new SocialLevelUpDialogView(_arg1, m_message, m_dialogTitle, m_type, m_callback, m_icon, 0, this.m_SocialLevel, this.m_RewardGoods, this.m_DialogIcon, this.m_LevelUpTitleIcon);
            return (_local2);
        }

    }
}//package Display.DialogUI 
